
<center>
 Bem vindo {% if user.get_full_name %}{{ user.get_full_name }}{% else %}{{ user.username }}{% endif %}

<div class="buttons" style="display: table;">
    {% if user.is_staff %}
      <a href="/admin/" class="button positive">
        <img src="{{ MEDIA_URL }}css/blueprint/plugins/buttons/icons/tick.png" alt=""/>
        Administração
      </a>
    {% endif %}

    {% comment %}
    <a class="button" href="#">
            <img src="{{ MEDIA_URL }}css/blueprint/plugins/buttons/icons/key.png" alt=""/> 
        Editar Perfil
    </a>
    {% endcomment %}

    {% if user.is_authenticated %}
        <a href="/logout/" class="button negative">
            <img src="{{ MEDIA_URL }}css/blueprint/plugins/buttons/icons/cross.png" alt=""/>
            Logout
        </a>
    {% endif %}

    {% if user.is_anonymous %}
        <a href="/login/?next=/" class="button negative">
            <img src="{{ MEDIA_URL }}css/blueprint/plugins/buttons/icons/key.png" alt=""/>
            Login
        </a>
    {% endif %}


</div>



</center>
